#import <UIKit/UIKit.h>

@class FWTransToolbar;
@class LILabel;
@class LITableView;
@class LITheme;
@class FWBadgeView;
@class FWApplication;


@interface FWToolbarViewCell : UIView
{
    CGFloat toolbarHeight;
    CGFloat labelIndent;
}

@property (nonatomic, retain) UIToolbar* toolbar;
@property (nonatomic, retain) LILabel* label;
@property (retain) UIImageView* labelIcon;
@property (retain) FWBadgeView* badge;
@property (assign) CGFloat toolbarHeight;
@property (assign) CGFloat labelIndent;
@property (nonatomic, retain) UIColor* borderColor;
@property (nonatomic, retain) UIImageView* backgroundImage;


+ (CGFloat)tableView:(LITableView*)tableView heightForToolbarWithLabelStyle:(LITheme*)theme;

- (id)initWithFrame:(CGRect)frame table:(LITableView *)table toolbarItems:(NSArray*)navItems;
- (void)dealloc;

- (void)setInformationForTable:(LITableView *)table indent:(CGFloat)indent label:(NSString*)text;
- (void)setBadgeValue:(NSString*)value hidden:(BOOL)hidden;
- (void)setBackgroundWithImage:(UIImage*)image;

- (NSArray*)items;
- (void)setItems:(NSArray*)newItems;

@end
